package com.power.contant;


import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 业务相响应的状态码
 */

@AllArgsConstructor
public enum BussinessEnum {

    LOGIN_ERROR(9001,"登录失败"),
    UN_AUTHORIZATION(401,"未授权"),
    ACCESS_DENY(403,"权限不足请联系管理员"),
    OPERATION_FAIL(-1, "操作失败")


    ;

    @Getter
    private Integer code;

    @Getter
    private String desc;


}
